namespace SuiHan.Commons.Daemon.Config {
    public abstract class AbstractDaemonConfig {
        /// <summary>
        /// 程序启动顺序,数字越小越优先
        /// </summary>
        public int Order { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enabled { get; set; } = true;

        /// <summary>
        /// 是否在程序退出时杀死进程
        /// </summary>
        public bool Killable { get; set; }
    }
}
